package com.fast.cms.web.form;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * MdDataForm
 * 
 * @author LUSHUIFA242
 *
 */
public class MdDataForm {
	
	private int page = 1;// 当前页
	private int rows = 8;// 每页面显示多少条
	private int startIndex = 0;// 每页面显示多少条
	private int deleteFlag = 0;
	private int status = 1;
	private String dataType;
	private String uploadDate;
	private String uploader;
	private String dataTitle;
	private String dataUrl;
	private String order;
	private String sort;

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getRows() {
		return rows;
	}

	public void setRows(int rows) {
		this.rows = rows;
	}

	public int getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(int deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}
	
	@Override
	public String toString() {
		return "{\"page\":\"" + page + "\", \"rows\":\"" + rows + "\", \"deleteFlag\":\"" + deleteFlag
				+ "\", \"status\":\"" + status + "\", \"dataType\":\"" + dataType + "\", \"uploadDate\":\"" + uploadDate
				+ "\", \"uploader\":\"" + uploader + "\", \"dataTitle\":\"" + dataTitle + "\", \"dataUrl\":\"" + dataUrl
				+ "\", \"order\":\"" + order + "\", \"sort\":\"" + sort + "\"}";
	}

	public String getDataType() {
		return dataType;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	public String getUploadDate() {
		return uploadDate;
	}

	public void setUploadDate(String uploadDate) {
		this.uploadDate = uploadDate;
	}

	public String getUploader() {
		return uploader;
	}

	public void setUploader(String uploader) {
		this.uploader = uploader;
	}

	public String getDataTitle() {
		return dataTitle;
	}

	public void setDataTitle(String dataTitle) {
		this.dataTitle = dataTitle;
	}

	public String getDataUrl() {
		return dataUrl;
	}

	public void setDataUrl(String dataUrl) {
		this.dataUrl = dataUrl;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	public int getStartIndex() {
		return startIndex;
	}

	public void setStartIndex(int startIndex) {
		this.startIndex = startIndex;
	}

}
